IfSo\Services\GeolocationService\GeolocationService A

Total Complexity 75
Dependencies 2
Dependents 3
Total lines 275
Lines of code 216
Logical lines of code 142
Comment lines 14
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
notifications_email()
B
40 24 48
send_session_to_localdb()
A
41 15 50
get_location_by_ip()
S
55 7 20
get_user_ip()
S
57 5 16
get_localdb_notification_data()
S
61 3 12
can_send_notification()
S
63 3 11
reset_email_triggers()
S
68 3 6
get_instance()
S
73 2 5
cache_geo_data()
S
66 2 8
get_cached_geo_data()
S
72 2 5
get_geo_data()
S
62 2 10
get_status()
S
63 2 10
str_contains()
S
71 2 6
add_value_to_option()
S
72 2 5
__construct()
S
76 1 4